import {createRouter, createWebHistory, RouteRecordRaw} from 'vue-router';
// import constantRouter from '@/router/modules';

const routes: RouteRecordRaw[] = [
    {
        path: '/Login',
        name: 'login',
        component: () => import('@/views/Login/index.vue'),
    },
    // {
    //   path: '/',
    //   redirect: constantRouter[0].path,
    // },
    // ...constantRouter,
];

const router = createRouter({
    routes,
    history: createWebHistory(),
});

export default router;
